package com.cardvalue.sys.entity;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/**
 * 获取授信  返回的数据
 * Created by cardvalue on 2016/5/3.
 */
public class Credit extends RealmObject{

    private  int  applicationId;

    private String objectId;

    public int getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(int applicationId) {
        this.applicationId = applicationId;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    private int totalCreditLine;

    @PrimaryKey
    private String creditStatus;


    private String lastUpdateTime;


    private String paymentMethod;


    private String paymentMethodId;


    private int loanPeriod;


    private String invalidDate;


    public void setTotalCreditLine(int totalCreditLine){

        this.totalCreditLine = totalCreditLine;

    }

    public int getTotalCreditLine(){

        return this.totalCreditLine;

    }

    public void setCreditStatus(String creditStatus){

        this.creditStatus = creditStatus;

    }

    public String getCreditStatus(){

        return this.creditStatus;

    }

    public void setLastUpdateTime(String lastUpdateTime){

        this.lastUpdateTime = lastUpdateTime;

    }

    public String getLastUpdateTime(){

        return this.lastUpdateTime;

    }

    public void setPaymentMethod(String paymentMethod){

        this.paymentMethod = paymentMethod;

    }

    public String getPaymentMethod(){

        return this.paymentMethod;

    }

    public void setPaymentMethodId(String paymentMethodId){

        this.paymentMethodId = paymentMethodId;

    }

    public String getPaymentMethodId(){

        return this.paymentMethodId;

    }

    public void setLoanPeriod(int loanPeriod){

        this.loanPeriod = loanPeriod;

    }

    public int getLoanPeriod(){

        return this.loanPeriod;

    }

    public void setInvalidDate(String invalidDate){

        this.invalidDate = invalidDate;

    }

    public String getInvalidDate(){

        return this.invalidDate;

    }











    private  int code;

    private String error;


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

}
